Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

196
Views
idle-vue-3 is NOT really "vue 3"

The github repositories mentioned in https://www.npmjs.com/package/idle-vue-3/v/1.0.1 do not have issues page. So, I guess I have to post it here. The documentation provided is not really Vue 3 at all. Many of the APIs used in the documentation are obsolete. Things like import Vue from 'vue';, Vue.use, etc. WTF is that project owner doing!?!

I bump into error with the following code snippet:

  app.use(IdleVue, {
    eventEmitter: Vue,
    //store,
    store: Store,
    idleTime: idleTimeInMillis,
    startAtIdle: false
  });

Store is imported from another .js file:

export default async () => {
  const Store = createStore({
    modules: {
      rules,
      utils
    },

    // enable strict mode (adds overhead!)
    // for dev mode only
    state: {
      clients: []
    },

    mutations: vuexfireMutations,

    actions: {
      bindClient: firestoreAction(async (context, ref) => {
        return await context.bindFirestoreRef("clients", ref);
      })
    },
    strict: process.env.DEV
  });
  return Store;
}

The browser console shows the following error:

boot error: TypeError: r.registerModule is not a function

which happens on line app.use(IdleVue, {. Any advice and insight is appreciated

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

What do you mean obsolete? It's scheduled to be deprecated but it's not deprecated yet.

WTF is that project owner doing!?!

The project owner did what he wanted, create an idle-js wrapper for Vue.

Vue 3 was officially release in September 2020.

idle-vue existed even back in 2019.

If you checked the repo, you'd see it was a fork.

The forked repo is released under the name idle-vue: https://www.npmjs.com/package/idle-vue

idle-vue-2 is taken but empty: https://www.npmjs.com/package/idle-vue-2

idle-vue-3 is the fork version with more changes applied to it.

Check the issue: https://github.com/soixantecircuits/idle-vue/issues/49 for your question.

Just use idle-js yourself or make a fork of your own and support Vue 3.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!